const mongoose = require("mongoose");
const Db = require("../")
const schema = new mongoose.Schema({
	adminName:{
		type:String,
		unique:true,
		required:true
	},
	passWord:{
		type:String,
		required:true
	},
	addTime:{
		type:String,
		required:true
	},
	lastLoginTime:{
		type:String,
		required:true
	}
},{
	versionKey:false
})
const model = mongoose.model("adminList",schema,"adminList");
module.exports = new Db(model);